<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Sticky Tab Bar</title>
  <style>
    body {
      margin: 0;
      font-family: Arial, sans-serif;
    }

    .content {
      height: 1500px;
      padding: 20px;
      background-color: #f5f5f5;
    }

    .tab-bar {
      position: sticky;
      top: 0;
      background-color: #fff;
      z-index: 1000;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      display: flex;
      padding: 10px 0;
      justify-content: center;
    }

    .tab-bar a {
      margin: 0 10px;
      padding: 10px 20px;
      text-decoration: none;
      color: #333;
      font-weight: bold;
      border-radius: 4px;
    }

    .tab-bar a:hover {
      background-color: #007bff;
      color: white;
    }

    .tab-bar a.active {
      background-color: #007bff;
      color: white;
    }
  </style>
</head>

<body>

  <div class="tab-bar">
  </div>


</body>

</html>